package com.etheart.usersphere.service;

import com.etheart.model.entity.User;


public interface UserService {

	public  User getLogin(String username, String password);

	public User getUserById(Long userid);

	public void updateUser(User u);

	public boolean matchingPassword(User u, String oldPass);

	public void modifyPassword(User u, String newPass);

	public User getUserByUsername(String username);

	public void registerUser(User user);

}